home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Night Owl 6
/
Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso
/
001a
/
ezzcomm.zip
/
SMLMAIL.T
< prev
next >
Wrap
Text File
|
1991-02-16
|
2KB
|
48 lines
: EZ-ZCOMM Copyright 1991 by Roger E. Hough, All Rights Reserved.
: Licensed for use at your own risk without fee. Altered versions,
: when distributed, must be clearly marked as altered and accompanied
: by the originals.
:
: Send an Outbound SMLNET Mail File
: 1st line: target,subject
: target(name) must be no more than 36 characters in length
: Remainder of file is the memo: (72 chars/line, 300 lines maximum)
display inhibit;open -!g %item;display noinhibit
setc z9 \032;if !t goto mailinvd
grab z1;if !%z1||Iz9,z1||!t goto mailinvd
split z1 , "";if !%z1 goto mailinvd
setc z8 \L%z0;if iz8,all set z0 "All"
setc z9 \032;grab z3;if Iz9,z3||!t goto mailinvd
mailok:
pat;mput \b\b\b\b\b\b\b\bE\r
pat 0 "Who is it TO";wait -f40;if n bye;return
pat;mput \b\b\b\b\b\b\b\b\T%z0;mput \r
pat 0i \n;wait -f40;if n bye;return
pat;pat 0 "Topic?";wait -f40;if n bye;return
pat;mput \b\b\b\b\b\b\b\b\T%z1;mput \r
pat 0i \n;wait -f40;if n bye;return
pat;pat 0 ": ";wait -f40;if n bye;return
mailnext:
pat;if %z3 mput \b\b\b\b\b\b\b\b\T%z3;mput \r
else mput "\b\b\b\b\b\b\b\b \r"
pat 0c \b;pat 1i \n;wait -f10;if n ife t closetx;bye;return
if 0 pat;pat 0 ":";pat 1 "\nSelect"
else pat;pat 0i ":";pat 1i "\nSelect"
wait -f20;if n ife t closetx;bye;return
grab z3;if t&&Iz9,z3 closetx
if !1 ife t goback mailnext;pat;mput \b\b\b\b\b\b\b\b\r;pat 1 "\nSelect";wait -f20;if n ife t closetx;bye;return
: Select: A,C,D,E,H,I,J,L,R,T,S)ave ->
pat;mput \b\b\b\b\b\b\b\bs\r
pat 0c "Are you Sure (" \b\b\b\b\b\b\b\by\r
pat 1 "\nType -> "
wait -f30;if ife t closetx;bye;return
set s1 y
if t goback mailok
del %item
pat;return
mailinvd:
echoc "Improper File - %item"
if t closetx
: del %item
return